package com.ruoyi.system.domain.biz;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员费用汇总信息对象 bm_member_report
 * 
 * @author ruoyi
 * @date 2022-11-18
 */
public class BmMemberReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 账户 */
    @Excel(name = "账户")
    private String userAccount;

    /** 余额 */
    @Excel(name = "余额")
    private Long surplus;

    /** 花费 */
    @Excel(name = "花费")
    private Long costed;

    /** 次数 */
    @Excel(name = "次数")
    private Long totalNum;

    /** 最后一次消费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后一次消费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastPlayTime;

    /** 最后一次消费金额 */
    @Excel(name = "最后一次消费金额")
    private Long lastPlayAmount;

    private String memberName;

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserAccount(String userAccount) 
    {
        this.userAccount = userAccount;
    }

    public String getUserAccount() 
    {
        return userAccount;
    }
    public void setSurplus(Long surplus) 
    {
        this.surplus = surplus;
    }

    public Long getSurplus() 
    {
        return surplus;
    }
    public void setCosted(Long costed) 
    {
        this.costed = costed;
    }

    public Long getCosted() 
    {
        return costed;
    }
    public void setTotalNum(Long totalNum) 
    {
        this.totalNum = totalNum;
    }

    public Long getTotalNum() 
    {
        return totalNum;
    }
    public void setLastPlayTime(Date lastPlayTime) 
    {
        this.lastPlayTime = lastPlayTime;
    }

    public Date getLastPlayTime() 
    {
        return lastPlayTime;
    }
    public void setLastPlayAmount(Long lastPlayAmount) 
    {
        this.lastPlayAmount = lastPlayAmount;
    }

    public Long getLastPlayAmount() 
    {
        return lastPlayAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userAccount", getUserAccount())
            .append("surplus", getSurplus())
            .append("costed", getCosted())
            .append("totalNum", getTotalNum())
            .append("lastPlayTime", getLastPlayTime())
            .append("lastPlayAmount", getLastPlayAmount())
            .toString();
    }
}
